package com.team.springboot01;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

//1.启动类会自动扫描当前包下，及其子包下所有的spring注解配置
//使用ComponentScan注解指定描述注解所在包 basePackages = value
//@ComponentScan(value = "com.team.springboot01.controller")
@SpringBootApplication

public class SpringBoot01Application {

    public static void main(String[] args) {
        SpringApplication.run(SpringBoot01Application.class, args);
    }

}
